package com.maven.front.service.eduQusestionsComment;




import com.maven.front.bean.EduQuestionsComment;
import com.maven.front.mapper.EduQuestionsCommentMapper;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EduQuestionsCommentService{

    @Resource
    private EduQuestionsCommentMapper eduQuestionsCommentMapper;

    //根据id查看
    public EduQuestionsComment getid(Integer id){
        return eduQuestionsCommentMapper.selectCusId(id);
    }

    public List<EduQuestionsComment> selectByQuestionId(Integer questionId){
  return eduQuestionsCommentMapper.selectByQuestionId(questionId);
    }








}
